package com.huaxin.device.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class GetDeviceAlarmNotificationsByElectricianIdRespDTO {

    /**
     * 组织ID
     */
    @Schema(description = "组织ID", example = "1")
    private String orgId;
    
    //组织名称
    @Schema(description = "组织名称", example = "华新")
    private String orgName;

    @Schema(description = "通知内容", example = "您有一个新的维修工单待处理")
    private String content;

    @Schema(description = "通知时间", example = "通知时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdAt;
}
